@charset "utf-8";
$font-size: 40; //根节点的字体大小
@function r($px) {
    @return $px/$font-size*1rem; //计算rem
}

@mixin middle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

@mixin Xjuz {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@mixin abCenter {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

@mixin aImg {
    overflow: hidden;
    position: relative;
    img {
        position: absolute;
        width: 100%;
        top: -9999px;
        bottom: -9999px;
        left: -9999px;
        right: -9999px;
        margin: auto;
    }
}

@mixin amg {
    overflow: hidden;
    img {
        position: absolute;
        top: -9999px;
        bottom: -9999px;
        left: -9999px;
        right: -9999px;
        margin: auto;
    }
}

@mixin Middll {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #807d6b;
}